#include <QString>
#include <QtTest>
#include "objet1.h"

class TestProjetPerceptioTest : public QObject
{
    Q_OBJECT

public:
    TestProjetPerceptioTest();

private Q_SLOTS:
    void testAddition();
};

TestProjetPerceptioTest::TestProjetPerceptioTest()
{
}

void TestProjetPerceptioTest::testAddition()
{
 Objet1 o = Objet1();
    QVERIFY( 42 == o.add(40, 2));
}

QTEST_APPLESS_MAIN(TestProjetPerceptioTest)

#include "tst_testprojetperceptiotest.moc"
